// stores/searchStore.js
import { defineStore } from 'pinia'

export const searchStore = defineStore('search', {
  state: () => ({
    searchQuery: ''
  }),
  actions: {
    setSearchQuery(query) {
      this.searchQuery = query
    }
  }
})